<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Document</title>
  <style>
    * {
      margin: 0;
      padding: 0;
    }

    body {
      /* background-color: #e9e7ef; */
      background-image: url(./银白-1638579950257.png);
    }

    .Myheader {
      margin: auto;
      width: 1200px;
      height: 36px;
      color: #e9e7ef;
      background-color: #24384d;
      display: flex;
      justify-content: space-between;
      line-height: 48px;
    }

    .Myheader>div {
      margin: 0 20px;
    }

    .Myheader>div>span {
      margin-right: 10px;
    }
  </style>
</head>

<body>
  <!-- 头 Myheader -->
  <div>
    <div class="Myheader">
      <div>xx小说</div>
      <div><input type="text" name="" id="" /><button>搜索</button></div>
      <div><span>登录</span><span>注册</span></div>
    </div>
  </div>
  <!-- 导航 nav -->
  <div>
    <div class="nav"></div>
  </div>
</body>

</html>